<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar showCompany  companyType="COMPANY_AAB000_EXACT" cpTagType="COMPANY_SIMPLE_GROUP">
                <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
            <epl-userMessage idCount="13" dataType="company" :panel="panel">
            </epl-userMessage>
            <el-form :model="form" :rules="rules" ref="form">
           <!-- <el-card class="ep-card">
                <ep-title>单位信息</ep-title>

                    <el-row :gutter="10">
                         <ep-input colspan="8" label="单位名称" name="aab069" :property="form.aab069" 
                                    p="D" :datas="{formData: form}" isChange></ep-input>
                        <ep-select colspan="8" label="单位性质" name="aab019" :property="form.aab019" codetype="AAB019"
                                placeholder="" p="D" :datas="{formData: form}" isPage ></ep-select>
                        <ep-select colspan="8" label="行政区划" name="aab301" :property="form.aab301" codetype="AAB301"
                                placeholder="" p="D" :datas="{formData: form}" isPage ></ep-select>
                    </el-row>

                
            </el-card> -->
            
            <el-card class="ep-card">
                <ep-title>人员暂停参保信息</ep-title>
               

                    <el-row :gutter="10">
                       <ep-select colspan="8" label="暂停原因" name="aae160" :property="form.aae160" 
                                        p="R" :datas="{formData: form}" codetype="AAE160" isPageFilter SelectFilterData=" aaa102>'6300' and aaa102<='6399'" ></ep-select>
                        <ep-date colspan="8" label="变动日期" name="aae035" :property="form.aae035" placeholder="请选择变更日期" 
                                p="R" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"  rules="this.$localRules.DateCheck" ></ep-date>

                    </el-row> 
                    <el-row :gutter="10">
                        <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013"
                                p="E" :datas="{formData: form}"></ep-textarea>
                    </el-row>
                    

                   
            </el-card>
            </el-form>

           <el-card class="ep-card">
                <ep-title>参保人员列表</ep-title>
                 <el-row>
                    <ep-table :data="tableData"  ref="tableData" border style="width: 100%;" rowDbClick >
                        <ep-table-column editor="index" width="50"  header="序号">
                                        </ep-table-column>    
                            <ep-table-column editor="checkbox" width="55" header="选择" ></ep-table-column>  
                        <ep-table-column  sortable editor="text"   name="aac003" header="姓名"></ep-table-column>
                        <ep-table-column  sortable editor="text"   name="aac002" header="社会保障号"></ep-table-column>
                        <ep-table-column   editor="select" codetype="AAC058"   name="aac058" header="证件类型"></ep-table-column>
                        <ep-table-column  sortable editor="text"   name="aac147" header="证件号码"></ep-table-column>
                        <ep-table-column  editor="select" codetype="AAC004"   name="aac004" header="性别"></ep-table-column>
                        <ep-table-column  sortable editor="text"   name="aac006" header="出生日期"></ep-table-column>
                        <ep-table-column  editor="select" codetype="AAC009"  name="aac009" header="户口性质"></ep-table-column>
                        <ep-table-column  sortable editor="text"   name="aac007" header="参加工作时间"></ep-table-column>
                    </ep-table>
                </el-row>
                <el-row type="flex" justify="center">
                          <div style="margin: 15px 0;"></div>
                        <ep-saveButton  type="primary"  id="doSave"  ref="save" @formValidate="formValidate" :validate="['form']" 
                                       :datas="{panel:panel,formData: form}" name="保存"></ep-saveButton>

                </el-row>
            </el-card> 
        </el-main>
    </el-main>
</template>


<script src="../js/PsInsurePauseBatJS.js"></script>